package com.superdry.utils;

import com.ab.util.AbDialogUtil;
import com.superdry.activity.AdviseActivity;

import android.content.Context;

public class CheckLogin {

	public static boolean isLogin(Context mContext){
		
		if(null == SPHelper.getUserInfo(mContext)){
			AbDialogUtil.showAlertDialog(mContext,"未登录，请登录后重试！" );
			return false;
		}
		return true;	
	}
}
